Group K-fold Cross Validation

../../../../_images/Kfold.svg

K-fold variant with non-overlapping groups.The same group will not appear in two different folds (the number of distinct groups has to be at least equal to the number of folds).

Documentation

K-fold variant with non-overlapping groups.The same group will not appear in two different folds (the number of distinct groups has to be at least equal to the number of folds).

Configuration:

  • n_splits

    Number of folds, must be atleast 2

Input ports:
Xtable

X

Ytable

Y

Gtable

G

Output ports:
out[(table, table)]

out

Definition

Input ports

X

table

X

Y

table

Y

G

table

G

Output ports

out

[(table, table)]

out

class node_crossvalidation.CrossVal_GroupKFold[source]